package com.sc.pb_user.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 通知表
 * </p>
 *
 * @author PBObserver
 * @since 2025-09-19 05:02:16
 */
@Getter
@Setter
@TableName("pb_notice")
public class PbNotice {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 通知标题
     */
    @TableField("notice_title")
    private String noticeTitle;

    /**
     * 类型：system, activity, info
     */
    @TableField("notice_type")
    private String noticeType;

    /**
     * 通知内容
     */
    @TableField("content")
    private String content;

    /**
     * 推送范围：all, member
     */
    @TableField("push_range")
    private String pushRange;

    /**
     * 推送状态：0-未推送，1-已推送
     */
    @TableField("push_status")
    private Boolean pushStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 推送时间
     */
    @TableField("push_time")
    private Date pushTime;
}
